package com.mysql.opt.dao;


import com.mysql.opt.entity.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderInfoDao {

    int save(OrderInfo orderInfo);

    int batchSave(@Param("orderInfos") List<OrderInfo> orderInfos);

    List<OrderInfo> selectPage(@Param("period")Integer period, @Param("start") Integer start, @Param("count") Integer count);
}
